Cytosim  PI
Cytoskeleton Simulator
How to create a Sphere

Specify radius and number of surface points:

new sphere NAME
{
radius = REAL
nb_points = INTEGER
}

How to add Single

Different methods can be used to attach Single to the surface points of a Sphere.

Method 1 - Specify new points with one Single on each point:

new sphere NAME
{
points0 = INTEGER, surface, SINGLE_SPEC, ...
points1 = INTEGER, surface, SINGLE_SPEC, ...
...
}

The first line points0 will add INTEGER points, with specified Single. SINGLE_SPEC is an optional number (1 by default) followed by the name of the Single, for example 10 grafted, if grafted is the name of a Single. Several SINGLE_SPEC can be specified, separated by commas.

Moreover, Singles can be added globally on all the points:

new sphere NAME
{
attach = SINGLE_SPEC [, SINGLE_SPEC] ...
attach_each = SINGLE_SPEC [, SINGLE_SPEC] ...
}

With attach, the Singles are distributed randomly on the points. With attach_each, the specification is repeated for each point, and each point thus receive the same number of single.